import java.util.Scanner;

public class 分数 {
    public static void main(String[] args){
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入你的成绩：");
        double scores = scanner.nextDouble();
        if (scores<0 || scores>100){
            System.out.println("成绩输入有误，请重新输入：");
        }else if(0<=scores && scores<=59){
            System.out.println("您的等级为；C");
        }else if (60<=scores && scores<=80){
            System.out.println("您的等级为：B");
        }else if (81<=scores && scores<=100){
            System.out.println("您的等级为：A");
        }
    }
}
